﻿<input />
<script>
    window.onbeforeunload = function () {
        return "关闭提示";
    };
</script>